#!/bin/bash

# Setup Keypair
KEY_NAME=${KEY_NAME:-jawinton}
KEY_FILE=${KEY_FILE:-jawinton.pem}
nova keypair-delete $KEY_NAME || true
nova keypair-add $KEY_NAME > $KEY_FILE
chmod 600 $KEY_FILE
